package 试题和试卷;

public abstract class question {
    String text,type,title,answer;
    double difficulty;
    int fullScore,actualScore;

    public question(){}

    public question(String title,String text,String type,int difficulty,int fullscore,String answer){
        this.title=title;
        this.text=text;
        this.type=type;
        this.difficulty=difficulty;
        this.fullScore=fullscore;
        this.answer=answer;
    }

    public  String getTitle(){return title;}

    public String getText(){
        return text;
    }

    public String getType(){
        return type;
    }

    public double getDifficulty(){
        return difficulty;
    }

    public int getFullScore(){
        return fullScore;
    }

    public int getActualScore(){
        return actualScore;
    }

    public String getAnswer(){
        return this.answer;
    }

    public String getRightOption(){return "";}

    public String getWrongOption(){return "";}

    public String getOption_a(){return "";}
    public String getOption_b(){return "";}
    public String getOption_c(){return "";}
    public String getOption_d(){return "";}

    String setTitle(String a){
        title=a;
        return title;
    }

    String setText(String a){
        text=a;
        return text;
    }

    String setType(String a){
        type=a;
        return type;
    }

    double setDifficulty(double a){
        difficulty=a;
        return difficulty;
    }

    int setFullScore(int a){
        fullScore=a;
        return fullScore;
    }

    int setActualScore(int a){
        actualScore=a;
        return actualScore;
    }

    String setAnswer(String a){
        this.answer=a;
        return answer;
    }

    public void setRightOption(String a){}

    public void setWrongOption(String a){}

    public void setOption_a(String a){}
    public void setOption_b(String a){}
    public void setOption_c(String a){}
    public void setOption_d(String a){}



}
